package com.example.demo.service;

import com.example.demo.domain.Condition;
import com.example.demo.domain.TableField;

import java.util.List;
import java.util.Map;

public interface QueryService {

    public List<Map> executeSql(String projectName, String queryName, Map<String, Object> conditions, String fillName);

    public List<Map> executeSqlTotalCount(String projectName, String queryName, Map<String, Object> conditions, String fillName);

    public List<Condition> getConditions(String projectName, String queryName, Map<String, Object> conditionsSql, String fillName);

    public List<TableField> getTableFields(String projectName, String queryName, String fillName);
}
